import service from ".";
import qs from 'qs';

const accountApi = {
    //登录
    login(account) {
        return service.post("/login", qs.stringify(account));
    },
    top5() {
        return service.get('/admin/info/top5');
    },
    top() {
        return service.get('/admin/info/top');
    },
    ps() {
        return service.get('/ps');
    },
    getLoginInfo(){
        return service.get('/admin/info/adminInfo');
    },
    captcha() {
        return service.get('/captcha');
    }
}
export default accountApi;

